home *** CD-ROM | disk | FTP | other *** search
- #ifdef __GNUC__
- SAVEDS ASM char *DisplayHookRessources(
- REG(a2,char **array),
- REG(a1,struct Ressources *R))
- #else
- SAVEDS ASM char *DisplayHookRessources(
- REG(a2) char **array,
- REG(a1) struct Ressources *R)
- #endif
- {
- int nbr;
- static char num[8];
-
- if (R)
- {
- nbr=(int)array[-1];
- sprintf(num, "%d", nbr);
- *array++ = num;
- *array++=R->Libelle;
- *array++=R->Etat;
- }
- else
- {
- *array++ = "\33bNum";
- *array++ = "\33bLibelle";
- *array = "\33bEtat";
- }
- return(0);
- }
- #ifdef __GNUC__
- SAVEDS ASM char *DisplayHookEvenements(
- REG(a2,char **array),
- REG(a1,struct Evenements *E))
- #else
- SAVEDS ASM char *DisplayHookEvenements(
- REG(a2) char **array,
- REG(a1) struct Evenements *E)
- #endif
- {
- if (E)
- {
- *array++=E->Index;
- *array++=E->Date;
- *array++=E->NumRess;
- *array++=E->LibelleRess;
- *array++=E->EtatRess;
- *array++=E->Classe;
- *array++=E->Zone;
- *array=E->Code;
- }
- else
- {
- *array++ = "\33bIndex";
- *array++ = "\33bDate";
- *array++ = "\33bRess";
- *array++ = "\33bLibelle";
- *array++ = "\33bEtat";
- *array++ = "\33bClasse";
- *array++ = "\33bZone";
- *array = "\33bCode";
- }
- return(0);
- }
- #ifdef __GNUC__
- SAVEDS ASM char *DisplayHookTraceNum(
- REG(a2,char **array),
- REG(a1,struct AffiTraceNum *TN))
- #else
- SAVEDS ASM char *DisplayHookTraceNum(
- REG(a2) char **array,
- REG(a1) struct AffiTraceNum *TN)
- #endif
- {
-
- *array++=TN->Date;
- *array++=TN->Heure;
- *array =TN->Valeur;
- return(0);
- }
-